/*    */ package com.iris.egrant.model.grantSetting;
/*    */ 
/*    */ import java.io.Serializable;
/*    */ import javax.persistence.Embeddable;
/*    */ 
/*    */ @Embeddable
/*    */ public class FundSettingKey
/*    */   implements Serializable {
/*    */   private static final long serialVersionUID = -3236523319933461469L;
/*    */   private Long stat_year;
/*    */   private Long grant_code;
/*    */   
/*    */   public Long getStat_year() {
/* 14 */     return this.stat_year;
/*    */   }
/*    */   
/*    */   public void setStat_year(Long stat_year) {
/* 18 */     this.stat_year = stat_year;
/*    */   }
/*    */   
/*    */   public Long getGrant_code() {
/* 22 */     return this.grant_code;
/*    */   }
/*    */   
/*    */   public void setGrant_code(Long grant_code) {
/* 26 */     this.grant_code = grant_code;
/*    */   }
/*    */ 
/*    */   
/*    */   public int hashCode() {
/* 31 */     int prime = 31;
/* 32 */     int result = 1;
/* 33 */     result = 31 * result + ((this.grant_code == null) ? 0 : this.grant_code.hashCode());
/* 34 */     result = 31 * result + ((this.stat_year == null) ? 0 : this.stat_year.hashCode());
/* 35 */     return result;
/*    */   }
/*    */ 
/*    */   
/*    */   public boolean equals(Object obj) {
/* 40 */     if (this == obj) {
/* 41 */       return true;
/*    */     }
/* 43 */     if (obj == null) {
/* 44 */       return false;
/*    */     }
/* 46 */     if (getClass() != obj.getClass()) {
/* 47 */       return false;
/*    */     }
/* 49 */     FundSettingKey other = (FundSettingKey)obj;
/* 50 */     if (this.grant_code == null) {
/* 51 */       if (other.grant_code != null) {
/* 52 */         return false;
/*    */       }
/* 54 */     } else if (!this.grant_code.equals(other.grant_code)) {
/* 55 */       return false;
/*    */     } 
/* 57 */     if (this.stat_year == null) {
/* 58 */       if (other.stat_year != null) {
/* 59 */         return false;
/*    */       }
/* 61 */     } else if (!this.stat_year.equals(other.stat_year)) {
/* 62 */       return false;
/*    */     } 
/* 64 */     return true;
/*    */   }
/*    */ }


/* Location:              D:\文件kjt\WEB-INF\lib\egrant-code-2.2.20240205.1659.jar!\com\iris\egrant\model\grantSetting\FundSettingKey.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       1.1.3
 */